package com.bestcem.xm.qdes.controller.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@NoArgsConstructor
@Data
public class QuestionRestNoParam {

    @JsonProperty("structID")
    @ApiModelProperty("题目结构主键structId")
    @NotEmpty(message = "structId不能为空")
    private String structId;

    @JsonProperty("gids")
    @ApiModelProperty("gid列表")
    @NotEmpty(message = "gids不能为空")
    private List<Integer> gids;
}
